Automattic\WooCommerce\Blocks\BlockTemplatesController B

Total Complexity 90
Dependencies 3
Dependents 1
Total lines 530
Lines of code 303
Logical lines of code 150
Comment lines 164
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
render_block_template()
B
49 18 30
add_block_templates()
B
42 16 49
get_block_templates_from_woocommerce()
A
45 14 41
add_mini_cart_content_to_template_part()
A
45 12 39
maybe_return_blocks_template()
A
49 8 31
get_single_block_template()
S
56 6 17
get_block_templates_from_db()
S
52 3 25
remove_theme_templates_with_custom_alternative()
S
56 2 23
__construct()
S
67 3 7
block_template_is_available()
S
65 3 9
get_templates_directory()
S
72 2 6
add_template_part_areas()
S
61 1 14
init()
S
67 1 7
get_block_templates()
S
72 1 5